package com.chen.manager.mapper;

import com.chen.model.entity.product.Category;
import com.chen.model.vo.product.CategoryExcelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 3/1/25 3:21 PM
 */
@Mapper
public interface CategoryMapper {
    List<Category> selectCategoryListByParentId(Long pid);

    Long selectSubCount(Long id);

    List<Category> selectAllCategory();


    void insertExcelData(List<CategoryExcelVo> categoryList);
}
